package com.djbx.points.member.service;

import com.djbx.points.common.core.utils.ServiceResponse;
import com.djbx.points.member.api.dto.MemberInDTO;
import com.djbx.points.member.api.dto.MemberOutDTO;

/**
 * 会员
 *
 * @author aliuql
 * @email 17701057157@qq.com
 * @date 2021-11-15 14:30:28
 */
public interface MemberService {

    ServiceResponse<MemberOutDTO> getMember(Long id);

    ServiceResponse<MemberOutDTO> getList(MemberInDTO inDTO);

    ServiceResponse<MemberOutDTO> getPage(MemberInDTO inDTO);

    ServiceResponse<Void> save(MemberInDTO memberInDTO);

    ServiceResponse<Void> update(MemberInDTO memberInDTO);

    ServiceResponse<Void> delete(Long id);
}
